Instructions for replication using R:

- Make sure that all files are on a same directory.

- Set the directory contained the data set and the scripts as the working directory.

- Scripts are named in alphabetical order as a cue for the order they are expected to be processed.

- Even in the case a user is interested in the results for a specific ANES survey, it is imperative to run script "A_loading_recoding_anes.R" first. It loads the data set from the .sav file, recodes the data for subsequent analyses, and create .RData files each ANES survey.


The ANES cumulative data set used in the analysis has been also upload to facilitate access to all data needed for the replication.
It can also be downloaded directly from the ANES website: https://electionstudies.org/data-center/anes-time-series-cumulative-data-file/
